home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / statweapons / p_granatwerfer_base.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.5 KB  |  57 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 0.52
  5.     path models/statweapons/p_granatwerfer
  6.     skelmodel granatwerfer_base.skd
  7.     surface granatwerfer2 shader granatwerfer
  8. }    
  9.  
  10. init
  11. {
  12.     server
  13.     {
  14.         classname FixedTurret
  15.         setsize "-55 -25 0" "0 25 60"                // Bounding Box
  16.         mass 99999                                   // Immovable
  17.  
  18.         // Spawn and attach the parts
  19.         spawnturret 0 "models/statweapons/P_granatwerfer_cannon.tik" // Cannon attached to the vehicle
  20.  
  21.         // Set the Animation Set to use
  22.         AnimationSet "nebelwerfer_"                  // Animation set for this vehicle
  23.         SoundSet "granatwerfer_"                      // Sound set for this vehicle                         
  24.         name granatwerfer
  25.  
  26.         //////////////////////////////////////////
  27.         // Pitch-Mod Sound for vehicles by speed
  28.         //
  29.         // Linearly Interpolates from the minimum pitch when the vehicle is at the minimum speed to 
  30.         // the maximum pitch when the vehicle is at the maximum speed.
  31.         //
  32.         // Speed is in World Units.
  33.         //
  34.         //
  35.         //                 +--------------- Minimum Speed
  36.         //                 |  +------------ Minimum Pitch
  37.         //                 |  |
  38.         //                 |  |      +----- Maximum Speed
  39.         //                 |  |      |  +-- Maximum Pitch
  40.         //                 V  V      V  V
  41.         setsoundparameters 0 0.95   200 1        
  42.     }
  43.     client
  44.     {
  45.         cache models/statweapons/P_granatwerfer_cannon.tik
  46.     }
  47. }
  48.  
  49. animations
  50. {
  51.     idle            granatwerfer_base.skc
  52. }
  53.  
  54. /*QUAKED addon_turretweapon_german_granatwerfer (0.0 0.0 0.0) (-65 -40 0) (65 40 120)
  55. Granatwerfer!!!
  56. */
  57.